<?php
include_once("../../php/include_all.php");

$pro=$_GET[pro];
$program = get_datas("select * from mus_program where nama_program LIKE '%$pro%'");

if (count($program)== 0 ) {

?>	<tr>
		<td>Maaf Data Tidak Ditemukan</td>
	</tr>
<?php
}
else {  
	foreach ($program as $program){
	      $as = (($program['id_program'] % 2) == 0)?'#FCFDFF':'#C7E7FC';
            ?> 	<tr bgcolor="<?php echo $as;?>"><td>
					<div class="item_prog_<?php echo $program['id_program'] ?>">
                        <input type='radio' onclick="getData(<?php echo $program['id_program'] ?>)" name='optionsRadiosPro' id="optionsRadiosPro_<?php echo $program['id_program'] ?>" value="<?php echo $program['id_program'] ?>">
                        <?php echo $program['nama_program'] ?>
                        <div class='list_keg'></div>
                    </div>
                     </td>                                       
				</tr> <?php
}
 }
 
?>